import storage from '@/utils/storage.js'
import msg from '@/utils/message.js'
import router from './core/router.js'
import wxSdk from '@/utils/wxSdk.js'
import config from '@/utils/initConfig.js'
export default {
	install(Vue) {
		// 本地存储
		Vue.prototype.$s = storage
		// 全局消息
		msg.init(Vue)
		Vue.prototype.$msg = msg
		// 路由跳转
		Vue.prototype.router = router
		uni.router = router
		// wxSDK
		Vue.prototype.$wx = wxSdk
		// config
		config.init(Vue)
	}
}